
package cn.keduox.entity;

import cn.keduox.annotation.Column;
import cn.keduox.annotation.Id;
import cn.keduox.annotation.Table;

import java.sql.Timestamp;

/**@author 邓中亚
 * 评论实体类
 */
@Table(name = "bookComment")
public class BookComment {
    /**
     *评论的id
     */
    @Id(name = "book_comment_id")
    @Column(name = "book_comment_id")
    private String bookCommentId;
    /**
     *所评论书籍的id
     */
    @Column(name = "book_id")
    private String  bookId;
    /**
     *删除标记，0正常，1删除
     */
    @Column(name = "del_flag")
    private Integer delFlag;
    /**
     *评论人，为登录用户的id
     */
    @Column(name = "create_by")
    private  String createBy;
    /**
     *评论时间，提交的时间
     */
    @Column(name = "create_time")
    private Timestamp createTime;
    /**
     *修改评论的时间
     */
    @Column(name = "update_time")
    private  Timestamp updateTime;
    /**
     *评论用户的职业
     */
    @Column(name = "user_job")
    private  String userJob;
    /**
     *评分1-5。5最高
     */
    @Column(name = "score")
    private  Integer score;
    /**
     *评论内容。255以内
     */
    @Column(name = "content")
    private  String content;

    public String getBookCommentId() {
        return bookCommentId;
    }

    public void setBookCommentId(String bookCommentId) {
        this.bookCommentId = bookCommentId;
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }


    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserJob() {
        return userJob;
    }

    public void setUserJob(String userJob) {
        this.userJob = userJob;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getdelFlag() {
        return delFlag;
    }

    public void setdelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

}

